<?php
/**
 * Created by PhpStorm.
 * User: u
 * Date: 2018/11/20
 * Time: 16:30
 */
namespace common\sources\read\shoppinghabit;

use common\models\craftsman\ShoppingHabit;

class ShoppingHabitAccess implements IShoppingHabitAccess
{

    public function getList()
    {
        // TODO: Implement getList() method.
        return ShoppingHabit::find()
            ->select('id,name')
            ->asArray()
            ->all();
    }

}